package com.mail.anteater.bean;

public enum Priority {
	HIGH,
	NORMAL,
	LOW,
	UNDEFINED;
	
	public static Priority getStorable(String pri) {
		Priority prio = null;
		try {
			prio = Priority.valueOf(pri.toUpperCase());
		} catch (IllegalArgumentException ex) {
			prio = Priority.UNDEFINED;
		}
		return prio;
	}
}
